home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1997 #3 / Amiga Plus CD - 1997 - No. 03.iso / pd / programmierung / alienbreed3d2_src / levelformat < prev    next >
Text File  |  1997-01-31  |  2KB  |  97 lines

  1.  
  2. 0    PLAYERSTARTX    (w)
  3. 2    PLAYERSTARTZ    (w)
  4. 4    PLAYERSTARTZONE (w)
  5. 6    NUM CONTOL PTS    (w)
  6. 8    NUM POINTS    (w)
  7. 10    NUM ZONES    (w)
  8. 12    NUM FLOORLINES    (w)
  9. 14    NUM OBJECT PTS    (w)
  10. 16    PTR TO POINTS    (l)
  11. 20    PTR TO FLOORLINES (l)
  12. 24    PTR TO OBJECTS    (l)
  13. 28    PTR TO PLAYERSHOTS (l)
  14. 32    PTR TO ENEMYSHOTS (l)
  15. 36    PTR TO OBJECTPTS (L)
  16. 40    PTR TO PLR1_OBJ (L)
  17. 44    PTR TO PLR2_OBJ (L)
  18.  
  19.     CONTROL POINTS... (w*2)
  20.  
  21.     OBJECT PTS (lw*2)
  22.  
  23.     OBJECT DATA (64bytes each)
  24.     -1 (w)
  25.  
  26.     Points (w*2)
  27.  
  28.     FloorLines (32 bytes each)
  29.     
  30.     ***********************
  31.     ZoneBorders (ends in -1)
  32.     ZoneDat:
  33.         numzone (w)
  34.         floorheight (L)
  35.         roofheight (l)
  36.         zb (w) ?
  37.         cpt (w)
  38.         0 (l)
  39.         Offset to borders(w)
  40.             from zonedat
  41.         Offset to points(w)
  42.             from zonedat
  43.         DrawBackDrop(w)
  44.     
  45.     (ZoneGraphNumber,clip addr (w)
  46.     CORD (l))
  47.     -1 (l) at end of list.
  48.     Then list of points (w)
  49.     terminated with -1
  50.     
  51.     ***********************
  52.     
  53. GRAPHICS FILE FORMAT:
  54.  
  55. 0 Pointer to doors (l)
  56. 4 pointer to lifts (l)
  57. 8 pointer to switches (l)
  58. 12 pointer to zone graph offsets
  59.  
  60. Offsets to zonedata from start of level
  61. data (already filled in) (l)
  62.  
  63. Offsets to zone graph data from start
  64. of this file (already filled in)
  65.  
  66. Zone Graph data
  67. (starts with zone number)
  68.  
  69. Door Data:
  70.     Bottom,top,currheight,dir (w)
  71.     Pointer to roof (l)
  72.     number of zone (w)
  73.      conditions (l)
  74.      
  75.      ***
  76.      wall number
  77.      pointer to wall graph
  78.      graphic
  79.      ***
  80.  
  81.  LiftData:
  82.      Bottom,top,currheight,dir (w)
  83.     Pointer to roof (l)
  84.     number of zone (w)
  85.      conditions (l)
  86.      
  87.      ***
  88.      wall number
  89.      pointer to wall graph
  90.      graphic
  91.      ***
  92.  
  93. SwitchData:
  94.     NUM ZONE (w)
  95.     First point (w)
  96.     Ptr to graphics (l)
  97.     status (l)